% TEST_ID: LANG-ASSIGN-0007
% CATEGORY: language/assign
% 伴随函数内的赋值

function test_assign_scope2()
    assert(f(1) == 3);
end

function r = f(x)
    r =  g(x);
end

function r = g(x)
    r = x + 2;
end
